package cn.itsource.controller;

import cn.itsource.service.ConsoleService;
import cn.itsource.vo.ConsoleVO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class ConsoleController {

    @Autowired
    ConsoleService consoleService;


//    /getConsoleData
    @GetMapping("/getConsoleData")
    public ConsoleVO getConsoleData(){
        return consoleService.getConsoleData();
    }
}
